<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script type="text/javascript">
    while(true){

    }
    setTimeout(function(){
        console.log("test");
    },1000);

</script>
</html>